import request from '@/utils/request'
let serviceName="/order-service"
export function getByUser(id){
    return request({url: serviceName + "/address/getByUser", method: "post",params:{"id":id}});
}
export function addAddress(address){
    return request({url: serviceName + "/address/insert", method: "post",data:address});
}
export function updateAddress(address){
    return request({url: serviceName + "/address/update", method: "post",data:address});
}